package cn.edu.scujj.bean;

public class Breakage {
    private int breakageId;
    private int bookId;
    private int breakageSum;
    private String breakageTime;

    public Breakage()
    {
        // 初始化默认值
        this.breakageId = 0;
        this.bookId = 0;
        this.breakageSum = 0;
        this.breakageTime = "";
    }

    public int getBreakageId()
    {
        return breakageId;
    }
    public void setBreakageId(int breakageId)
    {
        this.breakageId = breakageId;
    }
    public int getBookId()
    {
        return bookId;
    }
    public void setBookId(int bookId)
    {
        this.bookId = bookId;
    }
    public int getBreakageSum()
    {
        return breakageSum;
    }
    public void setBreakageSum(int breakageSum)
    {
        this.breakageSum = breakageSum;
    }
    public String getBreakageTime()
    {
        return breakageTime;
    }
    public void setBreakageTime(String breakageTime)
    {
        this.breakageTime = breakageTime;
    }
    @Override
    public String toString()
    {
        return "Breakage [breakageId=" + breakageId + ", bookId=" + bookId + ", bookNum=" + breakageSum + ", breakageTime="
                + breakageTime + "]";
    }
}
